﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WPF60.Infrastructure.Services
{

    /*todo:
     * 
     * implement config reader for wpf version
     * 
            var timeString = ConfigurationManager.AppSettings["MeetingTime"];

            var meetingTime = DateTime.Parse(timeString);

     */
    public interface IMeetingTimeProvider
    {
        DateTime MeetingTime { get; }
    }

    /// <summary>
    /// makes it easier to deploy this in Silverlight
    /// </summary>
    public class MeetingTimeProvider : IMeetingTimeProvider
    {
        public DateTime MeetingTime
        {
            get
            {
                return new DateTime(2010, 9, 21, 19, 30, 0);
            }
        }
    }
}
